This problem occurs even with CoreData generated source code. For example the following extension (generated from Xcode) causes similar warnings:
extension FolderItem {
@objc(addItemsObject:)
@NSManaged public func addToItems(_ value: FavoriteItem)
@objc(removeItemsObject:)
@NSManaged public func removeFromItems(_ value: FavoriteItem)
@objc(addItems:)
@NSManaged public func addToItems(_ values: NSSet)
@objc(removeItems:)
@NSManaged public func removeFromItems(_ values: NSSet)
}
The warnings are related to the following lines:
@objc(addItemsObject:)
@objc(removeItemsObject:)
@objc(removeItems:)
This is all generated code from Xcode.